package com.wdd.web.defaultt.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Service;

@Service
public class UserService {
	@Autowired
	private JdbcTemplate jdbcTemplate;
	public void createUser(String id,String name,String pwd){
		jdbcTemplate.update("insert into user values(?,?,?);", id,name,pwd);
	};
}
